package top.xierongsheng.code.oss;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class OSSConfig {

    @Value("${oss.xrs.endpoint}")
    private String endpoint;

    @Value("${oss.xrs.accessKeyId}")
    private String accessKeyId;

    @Value("${oss.xrs.accessKeySecret}")
    private String accessKeySecret;

    @Value("${oss.xrs.regularData}")
    private String regularData;

    @Value("${oss.xrs.tempData}")
    private String tempData;


    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getRegularData() {
        return regularData;
    }

    public void setRegularData(String regularData) {
        this.regularData = regularData;
    }

    public String getTempData() {
        return tempData;
    }

    public void setTempData(String tempData) {
        this.tempData = tempData;
    }
}
